/*
 * linja - Stealthy Linux Debugger
 * Copyright (C) 2009-2015 Caesar Creek Software, Inc. <http://www.cc-sw.com>
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

/* syscalls.c - system call definitions for Linux 32-bit x86 */

#include "syscalls.h"

const syscall_info sc_info[] =
{
    {"?0",                      0, 0, {0,  0,  0,  0,  0,  0}},
    {"exit",                    0, 1, {0,  0,  0,  0,  0,  0}},
    {"fork",                    1, 0, {0,  0,  0,  0,  0,  0}},
    {"read",                    0, 3, {0,  0,  0,  0,  0,  0}},
    {"write",                   0, 3, {0,  0,  0,  0,  0,  0}},
    {"open",                    1, 3, {8,  0,  0,  0,  0,  0}},
    {"close",                   0, 1, {0,  0,  0,  0,  0,  0}},
    {"waitpid",                 0, 3, {0,  0,  0,  0,  0,  0}},
    {"creat",                   0, 2, {8,  0,  0,  0,  0,  0}},
    {"link",                    0, 2, {0,  0,  0,  0,  0,  0}},
    {"unlink",                  0, 1, {0,  0,  0,  0,  0,  0}},
    {"execve",                  0, 3, {8,  0,  0,  0,  0,  0}},
    {"chdir",                   0, 1, {8,  0,  0,  0,  0,  0}},
    {"time",                    0, 1, {0,  0,  0,  0,  0,  0}},
    {"mknod",                   0, 3, {0,  0,  0,  0,  0,  0}},
    {"chmod",                   0, 2, {0,  0,  0,  0,  0,  0}},
    {"lchown",                  0, 3, {0,  0,  0,  0,  0,  0}},
    {"break",                   0, 0, {0,  0,  0,  0,  0,  0}}, /* n/a */
    {"oldstat",                 0, 2, {8,  0,  0,  0,  0,  0}},
    {"lseek",                   0, 3, {0,  0,  0,  0,  0,  0}},
    {"getpid",                  0, 0, {0,  0,  0,  0,  0,  0}},
    {"mount",                   0, 5, {0,  0,  0,  0,  0,  0}},
    {"umount",                  0, 1, {0,  0,  0,  0,  0,  0}},
    {"setuid",                  0, 1, {0,  0,  0,  0,  0,  0}},
    {"getuid",                  0, 0, {0,  0,  0,  0,  0,  0}},
    {"stime",                   0, 1, {0,  0,  0,  0,  0,  0}},
    {"ptrace",                  0, 4, {0,  0,  0,  0,  0,  0}},
    {"alarm",                   0, 1, {0,  0,  0,  0,  0,  0}},
    {"oldfstat",                0, 2, {0,  0,  0,  0,  0,  0}},
    {"pause",                   0, 0, {0,  0,  0,  0,  0,  0}},
    {"utime",                   0, 2, {0,  0,  0,  0,  0,  0}},
    {"stty",                    0, 0, {0,  0,  0,  0,  0,  0}}, /* n/a */
    {"gtty",                    0, 0, {0,  0,  0,  0,  0,  0}}, /* n/a */
    {"access",                  0, 2, {8,  0,  0,  0,  0,  0}},
    {"nice",                    0, 1, {0,  0,  0,  0,  0,  0}},
    {"ftime",                   0, 1, {0,  0,  0,  0,  0,  0}}, /* n/a: lib */
    {"sync",                    0, 0, {0,  0,  0,  0,  0,  0}},
    {"kill",                    0, 2, {0,  0,  0,  0,  0,  0}},
    {"rename",                  0, 2, {0,  0,  0,  0,  0,  0}},
    {"mkdir",                   0, 2, {8,  0,  0,  0,  0,  0}},
    {"rmdir",                   0, 1, {0,  0,  0,  0,  0,  0}},
    {"dup",                     0, 1, {0,  0,  0,  0,  0,  0}},
    {"pipe",                    0, 1, {0,  0,  0,  0,  0,  0}},
    {"times",                   0, 1, {0,  0,  0,  0,  0,  0}},
    {"prof",                    0, 0, {0,  0,  0,  0,  0,  0}}, /* n/a */
    {"brk",                     0, 1, {0,  0,  0,  0,  0,  0}},
    {"setgid",                  0, 1, {0,  0,  0,  0,  0,  0}},
    {"getgid",                  0, 0, {0,  0,  0,  0,  0,  0}},
    {"signal",                  0, 2, {0,  0,  0,  0,  0,  0}},
    {"geteuid",                 0, 0, {0,  0,  0,  0,  0,  0}},
    {"getegid",                 0, 0, {0,  0,  0,  0,  0,  0}},
    {"acct",                    0, 1, {0,  0,  0,  0,  0,  0}},
    {"umount2",                 0, 2, {0,  0,  0,  0,  0,  0}},
    {"lock",                    0, 0, {0,  0,  0,  0,  0,  0}}, /* n/a */
    {"ioctl",                   0, 6, {0,  0,  0,  0,  0,  0}},
    {"fcntl",                   0, 3, {0,  0,  0,  0,  0,  0}},
    {"mpx",                     0, 0, {0,  0,  0,  0,  0,  0}}, /* n/a */
    {"setpgid",                 0, 2, {0,  0,  0,  0,  0,  0}},
    {"ulimit",                  0, 2, {0,  0,  0,  0,  0,  0}}, /* n/a: lib */
    {"oldolduname",             0, 1, {0,  0,  0,  0,  0,  0}},
    {"umask",                   0, 1, {0,  0,  0,  0,  0,  0}},
    {"chroot",                  0, 1, {0,  0,  0,  0,  0,  0}},
    {"ustat",                   0, 2, {0,  0,  0,  0,  0,  0}},
    {"dup2",                    0, 2, {0,  0,  0,  0,  0,  0}},
    {"getppid",                 0, 0, {0,  0,  0,  0,  0,  0}},
    {"getpgrp",                 0, 1, {0,  0,  0,  0,  0,  0}},
    {"setsid",                  0, 0, {0,  0,  0,  0,  0,  0}},
    {"sigaction",               0, 3, {0,  0,  0,  0,  0,  0}},
    {"sgetmask",                0, 0, {0,  0,  0,  0,  0,  0}},
    {"ssetmask",                0, 1, {0,  0,  0,  0,  0,  0}},
    {"setreuid",                0, 2, {0,  0,  0,  0,  0,  0}},
    {"setregid",                0, 2, {0,  0,  0,  0,  0,  0}},
    {"sigsuspend",              0, 1, {0,  0,  0,  0,  0,  0}},
    {"sigpending",              0, 1, {0,  0,  0,  0,  0,  0}},
    {"sethostname",             0, 2, {0,  0,  0,  0,  0,  0}},
    {"setrlimit",               0, 2, {0,  0,  0,  0,  0,  0}},
    {"getrlimit",               0, 2, {0,  0,  0,  0,  0,  0}},
    {"getrusage",               0, 2, {0,  0,  0,  0,  0,  0}},
    {"gettimeofday",            0, 2, {0,  0,  0,  0,  0,  0}},
    {"settimeofday",            0, 2, {0,  0,  0,  0,  0,  0}},
    {"getgroups",               0, 2, {0,  0,  0,  0,  0,  0}},
    {"setgroups",               0, 2, {0,  0,  0,  0,  0,  0}},
    {"select",                  0, 5, {0,  0,  0,  0,  0,  0}},
    {"symlink",                 0, 2, {8,  8,  0,  0,  0,  0}},
    {"oldlstat",                0, 2, {8,  0,  0,  0,  0,  0}},
    {"readlink",                0, 3, {8,  0,  0,  0,  0,  0}},
    {"uselib",                  0, 1, {0,  0,  0,  0,  0,  0}},
    {"swapon",                  0, 2, {0,  0,  0,  0,  0,  0}},
    {"reboot",                  0, 4, {0,  0,  0,  0,  0,  0}},
    {"readdir",                 0, 3, {0,  0,  0,  0,  0,  0}},
    {"mmap",                    1, 6, {0,  0,  0,  0,  0,  0}},
    {"munmap",                  0, 2, {0,  0,  0,  0,  0,  0}},
    {"truncate",                0, 2, {0,  0,  0,  0,  0,  0}},
    {"ftruncate",               0, 2, {0,  0,  0,  0,  0,  0}},
    {"fchmod",                  0, 2, {0,  0,  0,  0,  0,  0}},
    {"fchown",                  0, 3, {0,  0,  0,  0,  0,  0}},
    {"getpriority",             0, 0, {0,  0,  0,  0,  0,  0}},
    {"setpriority",             0, 0, {0,  0,  0,  0,  0,  0}},
    {"profil",                  0, 0, {0,  0,  0,  0,  0,  0}},
    {"statfs",                  0, 2, {8,  0,  0,  0,  0,  0}},
    {"fstatfs",                 0, 0, {0,  0,  0,  0,  0,  0}},
    {"ioperm",                  0, 0, {0,  0,  0,  0,  0,  0}},
    {"socketcall",              0, 2, {0,  0,  0,  0,  0,  0}},
    {"syslog",                  0, 0, {0,  0,  0,  0,  0,  0}},
    {"setitimer",               0, 3, {0,  0,  0,  0,  0,  0}},
    {"getitimer",               0, 2, {0,  0,  0,  0,  0,  0}},
    {"stat",                    0, 2, {8,  0,  0,  0,  0,  0}},
    {"lstat",                   0, 2, {8,  0,  0,  0,  0,  0}},
    {"fstat",                   0, 2, {0,  0,  0,  0,  0,  0}},
    {"olduname",                0, 0, {0,  0,  0,  0,  0,  0}},
    {"iopl",                    0, 0, {0,  0,  0,  0,  0,  0}},
    {"vhangup",                 0, 0, {0,  0,  0,  0,  0,  0}},
    {"idle",                    0, 0, {0,  0,  0,  0,  0,  0}},
    {"vm86old",                 0, 0, {0,  0,  0,  0,  0,  0}},
    {"wait4",                   0, 4, {0,  0,  0,  0,  0,  0}},
    {"swapoff",                 0, 0, {0,  0,  0,  0,  0,  0}},
    {"sysinfo",                 0, 0, {0,  0,  0,  0,  0,  0}},
    {"ipc",                     0, 6, {0,  0,  0,  0,  0,  0}},
    {"fsync",                   0, 0, {0,  0,  0,  0,  0,  0}},
    {"sigreturn",               0, 0, {0,  0,  0,  0,  0,  0}},
    {"clone",                   1, 2, {0,  0,  0,  0,  0,  0}},
    {"setdomainname",           0, 0, {0,  0,  0,  0,  0,  0}},
    {"uname",                   0, 0, {0,  0,  0,  0,  0,  0}},
    {"modify_ldt",              0, 0, {0,  0,  0,  0,  0,  0}},
    {"adjtimex",                0, 0, {0,  0,  0,  0,  0,  0}},
    {"mprotect",                0, 3, {0,  0,  0,  0,  0,  0}},
    {"sigprocmask",             0, 3, {0,  0,  0,  0,  0,  0}},
    {"create_module",           0, 0, {0,  0,  0,  0,  0,  0}},
    {"init_module",             0, 0, {0,  0,  0,  0,  0,  0}},
    {"delete_module",           0, 0, {0,  0,  0,  0,  0,  0}},
    {"get_kernel_syms",         0, 0, {0,  0,  0,  0,  0,  0}},
    {"quotactl",                0, 0, {0,  0,  0,  0,  0,  0}},
    {"getpgid",                 0, 0, {0,  0,  0,  0,  0,  0}},
    {"fchdir",                  0, 0, {0,  0,  0,  0,  0,  0}},
    {"bdflush",                 0, 0, {0,  0,  0,  0,  0,  0}},
    {"sysfs",                   0, 0, {0,  0,  0,  0,  0,  0}},
    {"personality",             0, 0, {0,  0,  0,  0,  0,  0}},
    {"afs_syscall",             0, 0, {0,  0,  0,  0,  0,  0}},
    {"setfsuid",                0, 0, {0,  0,  0,  0,  0,  0}},
    {"setfsgid",                0, 0, {0,  0,  0,  0,  0,  0}},
    {"_llseek",                 0, 5, {0,  0,  0,  0,  0,  0}},
    {"getdents",                0, 3, {0,  0,  0,  0,  0,  0}},
    {"_newselect",              0, 5, {0,  0,  0,  0,  0,  0}},
    {"flock",                   0, 0, {0,  0,  0,  0,  0,  0}},
    {"msync",                   0, 0, {0,  0,  0,  0,  0,  0}},
    {"readv",                   0, 0, {0,  0,  0,  0,  0,  0}},
    {"writev",                  0, 3, {0,  0,  0,  0,  0,  0}},
    {"getsid",                  0, 0, {0,  0,  0,  0,  0,  0}},
    {"fdatasync",               0, 0, {0,  0,  0,  0,  0,  0}},
    {"_sysctl",                 0, 0, {0,  0,  0,  0,  0,  0}},
    {"mlock",                   0, 0, {0,  0,  0,  0,  0,  0}},
    {"munlock",                 0, 0, {0,  0,  0,  0,  0,  0}},
    {"mlockall",                0, 0, {0,  0,  0,  0,  0,  0}},
    {"munlockall",              0, 0, {0,  0,  0,  0,  0,  0}},
    {"sched_setparam",          0, 0, {0,  0,  0,  0,  0,  0}},
    {"sched_getparam",          0, 0, {0,  0,  0,  0,  0,  0}},
    {"sched_setscheduler",      0, 0, {0,  0,  0,  0,  0,  0}},
    {"sched_getscheduler",      0, 0, {0,  0,  0,  0,  0,  0}},
    {"sched_yield",             0, 0, {0,  0,  0,  0,  0,  0}},
    {"sched_get_priority_max",  0, 0, {0,  0,  0,  0,  0,  0}},
    {"sched_get_priority_min",  0, 0, {0,  0,  0,  0,  0,  0}},
    {"sched_rr_get_interval",   0, 0, {0,  0,  0,  0,  0,  0}},
    {"nanosleep",               0, 2, {0,  0,  0,  0,  0,  0}},
    {"mremap",                  1, 0, {0,  0,  0,  0,  0,  0}},
    {"setresuid",               0, 0, {0,  0,  0,  0,  0,  0}},
    {"getresuid",               0, 0, {0,  0,  0,  0,  0,  0}},
    {"vm86",                    0, 0, {0,  0,  0,  0,  0,  0}},
    {"query_module",            0, 0, {0,  0,  0,  0,  0,  0}},
    {"poll",                    0, 0, {0,  0,  0,  0,  0,  0}},
    {"nfsservctl",              0, 0, {0,  0,  0,  0,  0,  0}},
    {"setresgid",               0, 0, {0,  0,  0,  0,  0,  0}},
    {"getresgid",               0, 0, {0,  0,  0,  0,  0,  0}},
    {"prctl",                   0, 0, {0,  0,  0,  0,  0,  0}},
    {"rt_sigreturn",            0, 0, {0,  0,  0,  0,  0,  0}},
    {"rt_sigaction",            0, 4, {0,  0,  0,  0,  0,  0}},
    {"rt_sigprocmask",          0, 3, {0,  0,  0,  0,  0,  0}},
    {"rt_sigpending",           0, 0, {0,  0,  0,  0,  0,  0}},
    {"rt_sigtimedwait",         0, 0, {0,  0,  0,  0,  0,  0}},
    {"rt_sigqueueinfo",         0, 0, {0,  0,  0,  0,  0,  0}},
    {"rt_sigsuspend",           0, 1, {0,  0,  0,  0,  0,  0}},
    {"pread64",                 0, 0, {0,  0,  0,  0,  0,  0}},
    {"pwrite64",                0, 0, {0,  0,  0,  0,  0,  0}},
    {"chown",                   0, 0, {0,  0,  0,  0,  0,  0}},
    {"getcwd",                  0, 0, {0,  0,  0,  0,  0,  0}},
    {"capget",                  0, 0, {0,  0,  0,  0,  0,  0}},
    {"capset",                  0, 0, {0,  0,  0,  0,  0,  0}},
    {"sigaltstack",             0, 0, {0,  0,  0,  0,  0,  0}},
    {"sendfile",                0, 0, {0,  0,  0,  0,  0,  0}},
    {"getpmsg",                 0, 0, {0,  0,  0,  0,  0,  0}},
    {"putpmsg",                 0, 0, {0,  0,  0,  0,  0,  0}},
    {"vfork",                   1, 0, {0,  0,  0,  0,  0,  0}},
    {"ugetrlimit",              0, 2, {0,  0,  0,  0,  0,  0}},
    {"mmap2",                   1, 6, {0,  0,  0,  0,  0,  0}},
    {"truncate64",              0, 0, {0,  0,  0,  0,  0,  0}},
    {"ftruncate64",             0, 0, {0,  0,  0,  0,  0,  0}},
    {"stat64",                  0, 2, {8,  0,  0,  0,  0,  0}},
    {"lstat64",                 0, 2, {8,  0,  0,  0,  0,  0}},
    {"fstat64",                 0, 2, {0,  0,  0,  0,  0,  0}},
    {"lchown32",                0, 0, {0,  0,  0,  0,  0,  0}},
    {"getuid32",                0, 0, {0,  0,  0,  0,  0,  0}},
    {"getgid32",                0, 0, {0,  0,  0,  0,  0,  0}},
    {"geteuid32",               0, 0, {0,  0,  0,  0,  0,  0}},
    {"getegid32",               0, 0, {0,  0,  0,  0,  0,  0}},
    {"setreuid32",              0, 0, {0,  0,  0,  0,  0,  0}},
    {"setregid32",              0, 0, {0,  0,  0,  0,  0,  0}},
    {"getgroups32",             0, 2, {0,  0,  0,  0,  0,  0}},
    {"setgroups32",             0, 0, {0,  0,  0,  0,  0,  0}},
    {"fchown32",                0, 0, {0,  0,  0,  0,  0,  0}},
    {"setresuid32",             0, 0, {0,  0,  0,  0,  0,  0}},
    {"getresuid32",             0, 0, {0,  0,  0,  0,  0,  0}},
    {"setresgid32",             0, 0, {0,  0,  0,  0,  0,  0}},
    {"getresgid32",             0, 0, {0,  0,  0,  0,  0,  0}},
    {"chown32",                 0, 0, {0,  0,  0,  0,  0,  0}},
    {"setuid32",                0, 0, {0,  0,  0,  0,  0,  0}},
    {"setgid32",                0, 0, {0,  0,  0,  0,  0,  0}},
    {"setfsuid32",              0, 0, {0,  0,  0,  0,  0,  0}},
    {"setfsgid32",              0, 0, {0,  0,  0,  0,  0,  0}},
    {"pivot_root",              0, 0, {0,  0,  0,  0,  0,  0}},
    {"mincore",                 0, 0, {0,  0,  0,  0,  0,  0}},
    {"madvise",                 0, 0, {0,  0,  0,  0,  0,  0}},
    {"getdents64",              0, 3, {0,  0,  0,  0,  0,  0}},
    {"fcntl64",                 0, 3, {0,  0,  0,  0,  0,  0}},
    {"?222",                    0, 0, {0,  0,  0,  0,  0,  0}},
    {"?223",                    0, 0, {0,  0,  0,  0,  0,  0}},
    {"gettid",                  0, 0, {0,  0,  0,  0,  0,  0}},
    {"readahead",               0, 0, {0,  0,  0,  0,  0,  0}},
    {"setxattr",                0, 0, {0,  0,  0,  0,  0,  0}},
    {"lsetxattr",               0, 0, {0,  0,  0,  0,  0,  0}},
    {"fsetxattr",               0, 0, {0,  0,  0,  0,  0,  0}},
    {"getxattr",                0, 4, {8,  0,  0,  0,  0,  0}},
    {"lgetxattr",               0, 4, {8,  0,  0,  0,  0,  0}},
    {"fgetxattr",               0, 4, {0,  0,  0,  0,  0,  0}},
    {"listxattr",               0, 0, {0,  0,  0,  0,  0,  0}},
    {"llistxattr",              0, 0, {0,  0,  0,  0,  0,  0}},
    {"flistxattr",              0, 0, {0,  0,  0,  0,  0,  0}},
    {"removexattr",             0, 0, {0,  0,  0,  0,  0,  0}},
    {"lremovexattr",            0, 0, {0,  0,  0,  0,  0,  0}},
    {"fremovexattr",            0, 0, {0,  0,  0,  0,  0,  0}},
    {"tkill",                   0, 2, {0,  0,  0,  0,  0,  0}},
    {"sendfile64",              0, 0, {0,  0,  0,  0,  0,  0}},
    {"futex",                   0, 6, {0,  0,  0,  0,  0,  0}},
    {"sched_setaffinity",       0, 0, {0,  0,  0,  0,  0,  0}},
    {"sched_getaffinity",       0, 0, {0,  0,  0,  0,  0,  0}},
    {"set_thread_area",         0, 1, {0,  0,  0,  0,  0,  0}},
    {"get_thread_area",         0, 0, {0,  0,  0,  0,  0,  0}},
    {"io_setup",                0, 0, {0,  0,  0,  0,  0,  0}},
    {"io_destroy",              0, 0, {0,  0,  0,  0,  0,  0}},
    {"io_getevents",            0, 0, {0,  0,  0,  0,  0,  0}},
    {"io_submit",               0, 0, {0,  0,  0,  0,  0,  0}},
    {"io_cancel",               0, 0, {0,  0,  0,  0,  0,  0}},
    {"fadvise64",               0, 0, {0,  0,  0,  0,  0,  0}},
    {"?251",                    0, 0, {0,  0,  0,  0,  0,  0}},
    {"exit_group",              0, 1, {0,  0,  0,  0,  0,  0}},
    {"lookup_dcookie",          0, 0, {0,  0,  0,  0,  0,  0}},
    {"epoll_create",            0, 0, {0,  0,  0,  0,  0,  0}},
    {"epoll_ctl",               0, 0, {0,  0,  0,  0,  0,  0}},
    {"epoll_wait",              0, 0, {0,  0,  0,  0,  0,  0}},
    {"remap_file_pages",        0, 0, {0,  0,  0,  0,  0,  0}},
    {"set_tid_address",         0, 1, {0,  0,  0,  0,  0,  0}},
    {"timer_create",            0, 0, {0,  0,  0,  0,  0,  0}},
    {"timer_settime",           0, 0, {0,  0,  0,  0,  0,  0}},
    {"timer_gettime",           0, 0, {0,  0,  0,  0,  0,  0}},
    {"timer_getoverrun",        0, 0, {0,  0,  0,  0,  0,  0}},
    {"timer_delete",            0, 0, {0,  0,  0,  0,  0,  0}},
    {"clock_settime",           0, 0, {0,  0,  0,  0,  0,  0}},
    {"clock_gettime",           0, 2, {0,  0,  0,  0,  0,  0}},
    {"clock_getres",            0, 0, {0,  0,  0,  0,  0,  0}},
    {"clock_nanosleep",         0, 0, {0,  0,  0,  0,  0,  0}},
    {"statfs64",                0, 2, {8,  0,  0,  0,  0,  0}},
    {"fstatfs64",               0, 0, {0,  0,  0,  0,  0,  0}},
    {"tgkill",                  0, 3, {0,  0,  0,  0,  0,  0}},
    {"utimes",                  0, 0, {0,  0,  0,  0,  0,  0}},
    {"fadvise64_64",            0, 0, {0,  0,  0,  0,  0,  0}},
    {"vserver",                 0, 0, {0,  0,  0,  0,  0,  0}},
    {"mbind",                   0, 0, {0,  0,  0,  0,  0,  0}},
    {"get_mempolicy",           0, 0, {0,  0,  0,  0,  0,  0}},
    {"set_mempolicy",           0, 0, {0,  0,  0,  0,  0,  0}},
    {"mq_open",                 0, 0, {0,  0,  0,  0,  0,  0}},
    {"mq_unlink",               0, 0, {0,  0,  0,  0,  0,  0}},
    {"mq_timedsend",            0, 0, {0,  0,  0,  0,  0,  0}},
    {"mq_timedreceive",         0, 0, {0,  0,  0,  0,  0,  0}},
    {"mq_notify",               0, 0, {0,  0,  0,  0,  0,  0}},
    {"mq_getsetattr",           0, 0, {0,  0,  0,  0,  0,  0}},
    {"kexec_load",              0, 0, {0,  0,  0,  0,  0,  0}},
    {"waitid",                  0, 0, {0,  0,  0,  0,  0,  0}},
    {"?285",                    0, 0, {0,  0,  0,  0,  0,  0}},
    {"add_key",                 0, 0, {0,  0,  0,  0,  0,  0}},
    {"request_key",             0, 0, {0,  0,  0,  0,  0,  0}},
    {"keyctl",                  0, 0, {0,  0,  0,  0,  0,  0}},
    {"ioprio_set",              0, 0, {0,  0,  0,  0,  0,  0}},
    {"ioprio_get",              0, 0, {0,  0,  0,  0,  0,  0}},
    {"inotify_init",            0, 0, {0,  0,  0,  0,  0,  0}},
    {"inotify_add_watch",       0, 0, {0,  0,  0,  0,  0,  0}},
    {"inotify_rm_watch",        0, 0, {0,  0,  0,  0,  0,  0}},
    {"migrate_pages",           0, 0, {0,  0,  0,  0,  0,  0}},
    {"openat",                  0, 0, {0,  0,  0,  0,  0,  0}},
    {"mkdirat",                 0, 0, {0,  0,  0,  0,  0,  0}},
    {"mknodat",                 0, 0, {0,  0,  0,  0,  0,  0}},
    {"fchownat",                0, 0, {0,  0,  0,  0,  0,  0}},
    {"futimesat",               0, 0, {0,  0,  0,  0,  0,  0}},
    {"fstatat64",               0, 0, {0,  0,  0,  0,  0,  0}},
    {"unlinkat",                0, 0, {0,  0,  0,  0,  0,  0}},
    {"renameat",                0, 0, {0,  0,  0,  0,  0,  0}},
    {"linkat",                  0, 0, {0,  0,  0,  0,  0,  0}},
    {"symlinkat",               0, 0, {0,  0,  0,  0,  0,  0}},
    {"readlinkat",              0, 0, {0,  0,  0,  0,  0,  0}},
    {"fchmodat",                0, 0, {0,  0,  0,  0,  0,  0}},
    {"faccessat",               0, 0, {0,  0,  0,  0,  0,  0}},
    {"pselect6",                0, 6, {0,  0,  0,  0,  0,  0}},
    {"ppoll",                   0, 0, {0,  0,  0,  0,  0,  0}},
    {"unshare",                 0, 0, {0,  0,  0,  0,  0,  0}},
    {"set_robust_list",         0, 2, {0,  0,  0,  0,  0,  0}},
    {"get_robust_list",         0, 3, {0,  0,  0,  0,  0,  0}},
    {"splice",                  0, 0, {0,  0,  0,  0,  0,  0}},
    {"sync_file_range",         0, 0, {0,  0,  0,  0,  0,  0}},
    {"tee",                     0, 0, {0,  0,  0,  0,  0,  0}},
    {"vmsplice",                0, 0, {0,  0,  0,  0,  0,  0}},
    {"move_pages",              0, 0, {0,  0,  0,  0,  0,  0}},
    {"getcpu",                  0, 0, {0,  0,  0,  0,  0,  0}},
    {"epoll_pwait",             0, 0, {0,  0,  0,  0,  0,  0}},
    {"utimensat",               0, 0, {0,  0,  0,  0,  0,  0}},
    {"signalfd",                0, 0, {0,  0,  0,  0,  0,  0}},
    {"timerfd",                 0, 0, {0,  0,  0,  0,  0,  0}},
    {"eventfd",                 0, 0, {0,  0,  0,  0,  0,  0}},
    {"fallocate",               0, 0, {0,  0,  0,  0,  0,  0}}
};

const size_t num_syscalls = sizeof(sc_info) / sizeof(syscall_info);
